//package com.jt.controller;
//
//import com.jt.RabbitmqService.MessageSender;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//@RestController
//@RequestMapping("/rabbitmq")
//public class RabbitMqController {
//    @Autowired
//    private MessageSender messageSender;
//
//    @GetMapping("/test1")
//    public void testJd() {
//        messageSender.setMessage("测试简单模式");
//    }
//}
